import React from 'react';

import './index.less';

import {render} from '../../../../../hrpub/common/frame';
import SearchAction from '../../actions/search';


export default render({
    actions: {
        searchAct: SearchAction
    }
})(({props, state, action}) => {

    const {search} = props;

    return (
        <div style={{display: 'none'}}>
            {search.NCCreateSearch('dimissionQuery', {
                clickSearchBtn: action.searchAct.toSearch
            })}
            {search.NCCreateSearch('entryQuery', {
                clickSearchBtn: action.searchAct.toSearch
            })}
            {search.NCCreateSearch('regQuery', {
                clickSearchBtn: action.searchAct.toSearch
            })}
        </div>
    );

});